home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Win '95 Giga Pack
/
Win95 Giga Pack (Maple Media) (1997).iso
/
UTILITY
/
WNBT32
/
FIXES.TX_
< prev
next >
Wrap
Text File
|
1996-03-24
|
48KB
|
1,372 lines
**************************************************************************
IMPORTANT NOTICE: In the 32-bit version, the following functions, which
used to return space-delimited lists of items:
DirItemize
DiskScan
FileItemize
now return tab-delimited lists. This can be changed using the new
IntControl(29). See "DLL 2.2abh" section below for more information.
--------------------------------------------------------------------------
In the 32-bit version, the following functions work only with 32-bit apps:
AppExist
AppWaitClose
WinExeName
See "DLL 2.2abk" section below for more information.
**************************************************************************
WinBatch/WIL DLL fixes. Dates indicate disk drop into manufacturing. Actual
ship is often a week or two later.
5.0H Sept 1, 1994
Initial public release
5.0J Sept 10, 1994
Network Extender fixes
5.0K Sept 19, 1994
Fixed "Use Older / Use Newer" swap in Confirm Replace dialog
Fixed problem where \*.* was required on a target directory on
FileCopy/FileMove functions (Oops See 5.0N)
5.0L Sept 26, 1994
Fixed MenuChange function
Added DiskSize function
Added \\machine\share capability to DiskFree and DiskSize functions
WinBatch 32 for Intel PCs available
5.0M Oct 3, 1994
Fixed TimeDiffSecs function
Fixed DDERequest memory leak problem
Started adding this fixes.txt file
5.0N Oct 10 1994
Fixed memory leak on Dialog() function when CTL3DV2 was used.
New n3Logout function in Novell3 extender
Really fixed the \*.* problem. Previous fix only copied
the first file.
Modified the DiskFree, DiskSize, and FileSize functions to
return a floating point answer if the result is larger than
about 2 Gigabytes
Fixed Novell 3 Extenders (DLL10G)
n3Map fixed to work with ODI drivers
n3GetMapped
n3MemberSet
n3MemberDel
5.0P Oct 19 1994
Fixed FileSize for 32bit versions to return the proper answer
Fixed a bug in StrIndex where a @backscan on a one character
string would provide an incorrect answer.
Fixed problem in CopyMove confirm dialog - Cancel works now.
Fixed problem in CopyMove dialog - missing source file error caught before
dialog.
Fixed problem where Dialog function dialog boxes used BUTTON_FACE color
instead of LTGRAY color.
Fixed Novell 4 Extenders (DLL10H)
n4Map (improved)
n4GetMapped
n4MemberSet
n4MemberDel
Novell DLL's updated from the Novell 11/93 release to the 2/94 release
WinBatch 32 for Dec Alpha and MIPS now available.
Actually, its almost pointless to watch the Winbatch version number, as nearly all
the fixes appear in the Dll, which has its own version numbering scheme.
Henceforth, we will be tracking the DLL version number. The WinBatch
VersionDll() function will return the DLL version.
This is already built into the SYSINFO.WBT file.
DLL 2.1ebc Oct 26
First showing up in WinBatch 5.0Q
User pointed out problems in the sin and cos routines. Problem traced to
what appear to be singularity-type problems in the Microsoft runtime
cos and sin routines. The Dll now checks for the bad numbers, and if it is
in the range where the runtime routines fail, it stuffs in an appropriate
answer. Fix installed in the 16 bit version only, as the 32 bit versions
do not seem to have this problem in the runtimes.
Fixed a nit in the dialog editor where, when it was requested to
display a script, would do so in a dialog box with a "(Unlicensed)"
in the title.
Fix a parser problem where an error occurred when the first part
of a variable name matched a function name provided by the calling
exe program. This problem first showed up in using a "Dialog1"
name for a dialog in the Dialog Editor.
Fixed a SendKey to DOS bug where stuff like {UP} did not work when
the NumLock was set. Fixed by turning off NumLock when sending
keystrokes to DOS.
DLL 2.1fbc
Fixed look of Dialog boxes (back to white) when CTL3DV2.DLL is
not installed on system.
Fixed >very insignificant< problem where if a user did an
AddExtender for the same DLL twice (or more) only one instance
of the DLL was freed when the WBT file shut down.
Fixed problem in 32 bit version for Windows'95 where default
directory was not set properly in =C: environment variable.
This problem caused wildcarded filenames to be improperly
resolved into real filenames.
Fixed problem in 16 bit version where DirRemove always
returned a true, whether or not the directory was deleted.
If the directory is not deleted, it now returns a suppressable,
1030 error.
DLL 2.2abf First showing up in WB 5.1A
Because of a data structure change to support more binary
buffers (5 was coded, 10 was documented) the main dll
renamed to WBDBFxxx.dll
Fixed TimeDiffSecs (again). If the first date was smaller
than the second date, the answer could be incorrect.
Fixed a problem in FileAppend where the following code would not
work properly.
FileAppend("AAA.*","BBB.TXT")
The DLL now does better <Ctrl-Break> checking.
SendKey slowed down a minor tad to help other applications out.
32Bit versions will try harder to locate the WIL DLL on startup.
The compiler time check of various DLLS has been removed because
of assorted problems. We'll just roll the DLL name instead when
incompatibilities arise. The DLL appears to be extremely stable,
and the bug fixes implemented lately tend to be minor (see above)
A buglet where an ItemInsert on a null string installed a leading
delimiter before the inserted item - leading to a list with two
items, the first being null, and the second being the desired item
- was fixed. When ItemInsert'ing into a null list, no leading
delimiter is stuffed in.
A problem with PlayWaveForm where it was not checking the [Sounds]
section of the WIN.INI file for all possible cases has been fixed.
Fixed a problem with FileCopy/FileMove, where the target was ".."
and it was a root directory.
DirExist now returns TRUE for hidden and system directories. It
also uses an improved method (hopefully) of checking for root
directories and directories with relative paths (eg, "..\TEMP").
Changed FileExist to return a value of '2' if the specified file
exists but is currently open by another application in "read-deny"
mode. Most of the other file manipulation functions (except
FileOpen) will cause a sharing violation if they try to access
such a file.
Fixed problems handling file and directory names containing high
ANSI characters (>127).
Fixed a problem that occurred if, inside a FOR loop, the user
changed the increment variable to a string.
Fixed an intermittent problem with performing comparisons of
negative floating point numbers.
FileFullName now correctly expands "dot" directories
("." and "..") in the path name.
Fixed a problem processing lines such as "Gosub %param1%" inside
conditional structures, when param1 was undefined.
(32-bit version) Fixed some incompatabilities with Windows 95:
FileAppend
FileMove
MsgTextGet
WinActivate (where the specified parent window had a modal
child window displayed -- focus was going to the parent
window instead of to the child window)
Fixed a problem with accessing the DLL if it was located in the
parent directory and ".." was on the path.
FileCopy, FileMove, and FileAppend now check for sufficient free
disk space before performing the requested operation, and return
an error if there is insufficient space, as follows:
1404 FileCopy: Insufficient free space on target drive
1405 FileMove: Insufficient free space on target drive
1406 FileAppend: Insufficient free space on target drive
NetWare 3 extender 12012 First showing up in WB 5.1A
New functions:
n3ServerList(request)
Returns name of connected server(s)
n3FileAttrGet(filename)
Returns NetWare file attributes
n3FileAttrSet(filename, attribs, mode)
Sets NetWare file attributes
NetWare 4 extender 14007 First showing up in WB 5.1A
Changed functions:
n4memberGet(group, user)
n4memberSet(group, user)
n4memberDel(group, user)
these functions no longer take a 'server' parameter (they change the
groups on all servers)
New functions:
n4ServerList(request)
Returns name of connected servers(s)
n4FileAttrGet(filename)
Returns NetWare file attributes
n4FileAttrSet(filename, attribs, mode)
Sets NetWare file attributes
WB 5.1C April 18, 1995
Fixed problem with compiler and compiled WBT's causing a sharing
violation if the DLL was on a network and not marked read-only.
Fixed problem with compiler and compiled WBT's not finding the DLL
if it was located in the Windows or Windows System directory.
Fixed problem with large compiled WBT's being unable to extract the
WIL DLL when run on a disk >= 4 gigabytes in size.
In WILX.DLL extender -- fixed problem with xDriveReady sometimes
causing a GP fault.
DLL 2.2abg First showing up in WB 5.1C
Added two new string constants: @CR and @LF
Fixed bug in BinaryIndex where it wouldn't find the last character
in the buffer.
WB 5.1D July 18, 1995
WinBatch compiler: for new projects, compiler will use settings (type,
icon, and extenders) from the last project.
DLL 2.2abh First showing up in WB 5.1D
**************************************************************************
IMPORTANT: File delimiters
**************************************************************************
In order to support long file names in Windows NT and Windows 95, which
can contain embedded spaces, we have changed the default file delimiter,
used to delimit lists of files and directories, to a TAB in the 32-bit
version of WIL. In the 16-bit version of WIL, the default delimiter has
not changed, and remains a space.
Note that this is the "default" file delimiter. We have added the ability
to change the file delimiter to a character of your own choosing, using
the new IntControl 29. If you are using the 32-bit version of WIL, and
want to make the file delimiter a space for compatability with existing
scripts, you can place the following line at the beginning of each of your
scripts:
IntControl(29, " ", 0, 0, 0)
Conversely, if you want to standardize on a TAB delimiter, you can use:
IntControl(29, @TAB, 0, 0, 0)
Apostrophes (') and back quotes (`) are no longer treated as special
characters to delimit file names containing spaces. They are now treated
as ordinary characters in a file name.
----------------------------
Functions which are affected
----------------------------
The most important functions affected by this change are:
DirItemize
DiskScan
FileItemize
which now return lists delimited by the current file delimiter character.
The following functions, which take file or directory lists as input
parameters, now expect the lists to be delimited by the current file
delimiter character. However, they now also accept lists delimited with a
TAB or a vertical bar ("|", which may be easier to code in a WIL script):
DirItemize
DirRemove
DiskFree
FileAppend
FileAttrSet
FileCopy
FileDelete
FileItemize
FileMove
FileRename
FileSize
FileTimeSet
FileTimeTouch
Note that DiskFree will continue to accept space-delimited lists as input.
**************************************************************************
New IntControl:
IntControl(29, delimiter, 0, 0, 0)
Changes the default file delimiter.
The first parameter is the new file delimiter you want to use, and must
be a single character. The return value of the function is the previous
file delimiter character. If you specify an empty string ("") as the
first parameter, the function will return the current file delimiter
character but the file delimiter will not be changed.
Added option to WinMetrics: WinMetrics(-4) will return the Windows
platform:
0 = Other
1 = Windows
2 = Windows for Workgroups
3 = Win32s
4 = Windows NT
5 = Windows 95
In StrSub, you can now specify a length of -1, which will extract the rest
of the string.
In TimeWait, you can now specify "00:00:00" for the date, which will wait
for the next occurrence of the specified time (ie, today or tomorrow).
Added support for 3-D Dialog's in Windows NT, if CTL3D32.DLL is present in
the SYSTEM32 directory.
Fixed TimeAdd so that it doesn't trim out leading zeros in each field.
The Wallpaper function now obeys the tile parameter in Windows 95.
Improved handling of colors in Dialog function.
Added 3D effect to radio buttons and checkboxes in Dialog function.
Fixed problem where if an error occurred in a called WBT, control would go
to the "Cancel" label in the calling program.
In Dialog and DialogBox, you can now really use IntControl(4) to allow the
dialog to be closed without selecting a file, even if there is an edit box
associated with a file listbox. If you press a pushbutton after changing
the file mask in an edit box, the listbox will be updated with the new
mask. But if you press a pushbutton without changing the file mask, the
dialog will close (and will return a file name of "NOFILESELECTED").
Fixed problem where string variables were not converted properly to
integers at the beginning of a "For" loop.
Fixed problem where lines that should have been ignored (eg, if they
followed a Break statement) could cause errors if they contained invalid
syntax.
If the second parameter of an IntControl(12) statement is "" or "0", any
previously-set exit message will now be cleared. Also, you can now
specify a message beginning with "0".
Fixed problem processing "If" statements with a blank string to the left
of the equals sign.
Fixed a problem in the 32-bit version where the Dialog function would
return an invalid file name (garbage characters) if no file was selected.
Improved IsKeyDown processing (especially under Windows 95).
Improved Ctrl-Break checking (especially under Windows 95).
Made WinWaitClose steal less processor time in the 32-bit version.
WB 5.1E Aug 3, 1995
In the 32-bit version of WinBatch, it is now possible to run WinBatch
files whose names contain spaces, by delimiting the file name with
double quotes on the WinBatch command line. For example:
WBAT32I "Sample Program.WBT" param1 param2
CallExt now handles file names containing spaces, in 32-bit version.
32-bit version of WinBatch will now run WBT's with file names longer than
64 characters.
INI settings have been moved from WWW-PROD.INI to the registry, under key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wilson WindowWare\Settings\WWW-PROD
DLL 2.2abj First showing up in WB 5.1E
For functions which take a partial window name, you can now specify a
tilde (~) as the first character of the window name, which will match any
window containing the specified string anywhere in its title (ie, not
necessarily at the beginning of the title). For example, "~Notepad" will
match a window title of "(Untitled) - Notepad" and a window title of "My
Notepad Application", as well as a window title of "Notepad - (Untitled)".
This should prove especially useful under Windows 95. A '~' at the end of
the specified window name indicates (as before) that the name must match
the window title through to the end of the title. So, "~Notepad~" will
match a window title of "Notepad" and a window title of "(Untitled) -
Notepad", but will not match a window title of "Notepad - (Untitled)".
New function:
WinIdGet(partial-winname).
Returns a unique "Window ID" (pseudo-handle) for the specified window.
New functions to manipulate Windows 95 shortcut link files (Windows 95 only):
ShortcutEdit(linkname, pathname, params, workdir, showmode)
Modifies the specified shortcut file.
showmode = @NORMAL, @ZOOMED, or @ICON
ShortcutExtra(linkname, description, hotkey, iconpath, iconindex)
Sets additional information for the specified shortcut file.
iconindex = 0=based index of desired icon in "iconpath"
ShortcutInfo(linkname)
Returns information on the specified shortcut file (TAB-delimited):
path, params, workdir, showmode, desc, hotkey, iconpath, iconindex
ShortcutMake(linkname, pathname, params, workdir, showmode)
Creates a shortcut for the specified filename.
showmode = @NORMAL, @ZOOMED, or @ICON
In 32-bit version, Run... commands now support file and directory names
containing spaces.
In 32-bit version, Run... commands no longer support the undocumented
method of running a program with a non-standard extension (eg,
"SSSTARS.SCR") by replacing the period (.) in the file name with an
asterisk (*). However, this is no longer necessary, as the Run...
commands in the 32-bit version can now run such programs directly.
The 32-bit bit version is now able to run Windows 95 shortcut files under
Windows 95, using any of the Run... functions. The "Run" mode specified
in the shortcut file (ie: "Normal window", "Minimized", or "Maximized")
will always be obeyed, any command-line parameters specified in the
shortcut's "Target" field will override any parameters passed by the
Run... function, and a working directory specified in the shortcut's
"Start in" field will override a working directory parameter in RunShell.
New directory attribute functions:
DirAttrGet(dirname)
Gets directory attributes (like FileAttrGet)
DirAttrSet(dir-list, settings)
Sets directory attributes (like FileAttrSet)
FileAttrGet and FileAttrSet now return an error if a directory name is
specified. Use the new DirAttrGet and DirAttrSet instead.
New functions (32-bit version only -- the 16-bit version will just return
the passed file name):
FileNameLong(filename)
Returns the long version of a filename.
FileNameShort(filename)
Returns the short (ie, 8.3) version of a filename.
New IntControl (32-bit, Windows NT only):
IntControl(30, "sourcefile", "destination", 0, 0)
Performs a delayed file move. The file is not actually moved until
the operating system is restarted.
New registry functions (32-bit version only):
RegApp(progname, path)
Creates registration entries for a program under "App Paths".
RegDelValue(handle, subkey-string)
Removes a named value for the specified subkey from the registry.
In 32-bit version, PlayMidi function now support file and directory names
containing spaces.
New function (32-bit version only):
InstallFile(filename, targname, default-targdir, delete-old, flags)
Installs and uncompresses file.
New function (menu-based implementations only):
CurrFilePath()
Returns the full path+filename of the currently-selected file.
Like CurrentFile, but returns a full pathname.
New IntControl (32-bit, Windows 95 only):
IntControl(31, 0, 0, 0, 0)
Returns a tab-delimited list of WinId's for all open Explorer windows.
IntControl(67) and IntControl(68) now work in Windows 95.
DosVersion now returns correct values in Windows 95.
Added new request #'s to WinResources for 32-bit version:
The existing request #'s (0-4) will still work, but are not useful on
32-bit platforms.
It is not possible to determine free system resources in the 32-bit
version.
Fixed problem with Dialog and DialogBox returning "NOFILESELECTED" even
if a file was selected, if IntControl(4) was set.
INI settings have been moved from WWW-PROD.INI to the registry, under key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wilson WindowWare\Settings\WWW-PROD
WB 95B Sept 7, 1995
New Box functions:
BoxButtonDraw(BoxID, button ID, "text", "rect")
BoxButtonKill(BoxID, button ID)
BoxButtonStat(BoxID, button ID)
BoxCaption(BoxID, caption)
BoxColor(BoxID, "color", wash color)
BoxDataClear(BoxID, "tag")
BoxDataTag(BoxID, "tag")
BoxDestroy(BoxID)
BoxDrawCircle(BoxID, "rect", style)
BoxDrawLine(BoxID, "rect")
BoxDrawRect(BoxID, "rect", style)
BoxDrawText(BoxID, "rect", "text", erase flag, alignment)
BoxesUp("rect", show mode)
BoxMapMode(BoxID, map mode)
BoxNew(BoxID, "rect", style)
BoxPen(BoxID, "color", width)
BoxTextColor(BoxID, "color")
BoxTextFont(BoxID, "name", size, style, family)
BoxUpdates(BoxID, update flag)
The 32-bit WinBatch compiler now allows you to specify an icon for the EXE
being compiled.
DLL 2.2abk First showing up in WB 95B
In the 32-bit version, the Run... functions will look in the registry
under "App Paths" for the location of the specified program, if you do not
specify a path for it.
In the 32-bit version, the Run... functions will look in the registry
under "App Paths" for a "Path" setting for the specified program, and, if
found, will prepend it to the "PATH" environment variable before running
the program.
In the 32-bit version, the following functions now work, but only with
32-bit applications:
AppExist
AppWaitClose
WinExeName
In the 32-bit version, AppExist and AppWaitClose are not able to detect
the existence of 16-bit DOS or Windows applications, and WinExeName will
return the string "(16-bit application)".
In the 32-bit version under Windows NT, these functions accept (and
return) module names instead of full program names. The module name is
usually the same as the root name of the program, without the extension.
For example, WinExeName("Program Manager") will return "progman". With
AppExist and AppWaitClose, any file extension or path information which is
part of the 'program-name' parameter is ignored; so, for example,
AppExist("c:\temp\progman.exe") will return TRUE if Program Manager is
running, regardless of what directory PROGMAN.EXE is actually located in.
One exception: WinExeName("") will return a full path to the program
making the current call to the WIL Interpreter.
BinaryPeekStr, BinaryPokeStr, and BinaryStrCnt now check for (and reject)
negative parameters.
RunWait now gives up some processor time while it's waiting.
New function (32-bit version only):
WinSysInfo()
Returns a tab-delimited list of system configuration information:
This function should be used instead of WinConfig in the 32-bit version.
Additional request #'s for WinMetrics (32-bit version only):
New mouse functions:
MouseClick(click-type, modifiers)
Clicks mouse button(s).
MouseClickBtn(win-name, child-win, button-text)
Clicks on the specified button control.
MouseMove(x, y, win-name, child-win)
Moves the mouse to the specified X-Y coordinates (based on a 1000 x
1000 screen).
Fixed problem where an invalid YmdHms string containing two consecutive
colons could cause a GP Fault.
In the 32-bit version, AppExist and AppWaitClose will now wait several
seconds for the specified application to appear.
Fixed problem in menu-based WIL applications where tabs in menu item
descriptions would be displayed as non-printable "black-box" characters.
Added new request #'s to MouseInfo:
In the 32-bit version, IconReplace now supports 32-bit EXE files. The
replacement icon must be the exact same size as the original icon.
New IntControl:
IntControl(32, address, "data type", 0, 0)
Returns the contents of the memory location specified by "address".
Fixed WinMetrics(-1) with 32-bit graphics cards. It was returning -1 for
these; it now returns 2,147,483,647.
WB 95C Oct 10, 1995
New function:
BoxButtonWait()
Waits for any button in any box to be pressed.
Fixed problem with WinBatch locking up when minimizing a WinBatch box that
was displaying width-justified text.
DLL 2.2abl First showing up in WB 95C
Fixed problem with DirExist returning @FALSE for a UNC which was a root
directory share on another machine (eg, "\\SERVER\C").
DirMake will now create multi-level directories (eg, "C:\ABC\DEF\GHI").
New functions:
BinaryIndexNc(handle, offset, string, direction)
Like BinaryIndex, but case-insensitive.
WinItemNameId()
Returns a list of top-level window names and their "Window ID's", in
the form:
"window1-name|window1-ID|window2-name|window2-ID|..."
In the 32-bit version, Delay and TimeDelay functions now accept
floating point numbers: eg, Delay(0.5).
New function:
ShellExecute(file-name, params, directory, display mode, operation)
Performs a ShellExecute.
New function (32-bit version only):
RegQueryItem(handle, subkey)
Returns a tab-delimited list of named data items for the specified
subkey.
New IntControl:
IntControl(33, p1, 0, 0, 0)
Controls whether a listbox control in a dialog box allows multiple
items to be selected.
P1 Meaning
-- -------
0 Single selection
1 Multiple selection (default)
Improved registry functions in 32-bit version:
RegSetValue, RegQueryValue, and RegDelValue:
1. SEE NOTE BELOW!! Can now specify a named value of [Default] to
indicate the primary value for the key (shown in the Registry
Editor as "(Default)"); eg:
RegSetValue(mykey, "[Default]", "some data")
(*** The above feature was subsequently removed in version 96C ***)
2. Can now specify a subkey string containing a named value; eg:
RegSetValue(mykey, "MySubKey[MyItem]", "some data"), or,
RegSetValue(mykey, "MySubKey\[MyItem]", "some data")
Fixed WaitForKey in the 32-bit version.
In the 32-bit version, you can now use the Run... functions to "run" data
files (eg, Run("win.ini", "")).
FileItemize and DirItemize now handle names containing spaces.
In 32-bit version, fixed problem with 3D dialogs not being used under
Windows NT.
WB 95D Nov 1, 1995
Compiler now optimizes WBT's by removing comment lines and whitespace.
OLE automation (ObjectOpen and ObjectClose functions) now supported in
32-bit version.
When a custom icon is specified, the 32-bit compiler now installs it as
the icon that is displayed in the Win95 Explorer window, as well as the
icon that is shown in the task bar.
Fixed a problem with some of the Box functions, where a color or font that
was specified in a definition-type command (such as BoxTextColor) would be
used for an output-type command (such as BoxDrawText) that preceded it in
the command stack, instead of the default color or font being used.
DLL 2.2abl First showing up in WB 95D
New registry functions (32-bit version only):
RegQueryBin(handle, subkey)
Retrieves a binary value from the registry.
RegQueryDword(handle, subkey)
Retrieves a DWORD value from the registry.
RegSetBin(handle, subkey, value)
Sets a binary value in the registry.
RegSetDword(handle, subkey, value)
Sets a DWORD value in the registry.
New date/time functions:
TimeJulToYmd(julian-date)
Converts the specified Julian date value to a date in YmdHms format.
Hms will always be "00:00:00".
TimeSubtract(YmdHms1, YmdHms2)
Subtracts YmdHms2 from YmdHms1.
YmdHms2 can not be larger than YmdHms1.
New IntControl's:
IntControl(34, p1, 0, 0, 0)
Returns the error message string which corresponds to the specified
WIL error.
p1 = error number.
IntControl(35, p1, 0, 0, 0) (32-bit version only)
Adjusts SendKey delay.
p1 = amount of time to delay between each keypress, in milliseconds
(1000 milliseconds = 1 second).
Returns previous delay setting.
The default delay (in the 32-bit version) is 25. Specify a larger
number to slow SendKey down, or a smaller number to speed it up
(0 = no delay).
IntControl(36, p1, p2, 0, 0) (32-bit version only)
Waits until an application is waiting for user input.
p1 = window name associated with application
p2 = timeout, in milliseconds (-1 = no timeout)
In dialog boxes, if you create an EDITBOX field with a variable name that
begins with "PW_", it will be treated as a password field (ie, asterisks
will be echoed instead of the actual characters that the user types).
In dialog boxes, file listboxes now use long file names in the 32-bit
version under Windows 95.
In the DiskScan function, request numbers 8 (CD_ROM) and 16 (RamDisk) are
now supported in the 16-bit version.
In 32-bit version, added 3D effects to dialog listboxes and edit controls
under Windows 95.
SendMenusTo now accepts a Window ID for the window name parameter.
In 32-bit version, fixed a problem using the Run[] commands to launch a
Windows 95 shortcut file.
InstallFile function now supported in 16-bit version.
NetWare 3 extender 12013 First showing up in WB 95D
Fixed a problem with n3GetMapped, if the specified server name was also
the partial name of another server (eg, if you specified "\\SERVER1" and
you also had a server named "\\SERVER10").
n3FileAttrGet and n3FileAttrSet can now be used to get and set directory
attributes.
NetWare 4 extender 14010 First showing up in WB 95D
Fixed n4Detach function; it now does a full detach, and it now returns
@FALSE if it is unable to detach from the monitored connection (ie, from
the primary or login server).
Fixed a problem with n4GetMapped, if the specified server name was also
the partial name of another server (eg, if you specified "\\SERVER1" and
you also had a server named "\\SERVER10").
n4FileAttrGet and n4FileAttrSet can now be used to get and set directory
attributes.
WB 95E Nov 2, 1995
DLL 2.2abm First showing up in WB 95E
In 16-bit version, fixed a problem with DirMake creating a directory name
containing high ANSI characters (>127).
WB 96A Jan 1, 1996
WinBatch for PowerPC now available.
New IntControl:
IntControl(1000, p1, 0, 0, 0)
Sets the exit code returned by WinBatch.
Fixed the "Help" button in the WinBatch compiler.
In the BoxColor function, the gradient effect (wash color) now works with
video drivers > 256 colors.
DLL 2.3abm First showing up in WB 96A
New function:
DiskInfo(drive-letter, request#)
Returns information on the specified disk drive.
Req# Return value
---- ------------
1 sectors per cluster
2 bytes per sector
3 number of free clusters
4 total number of clusters
New IntControl's:
IntControl(37, p1, p2, p3, 0)
Replaces the specified icon in an EXE file.
p1 = EXE file
p2 = icon file
p3 = ordinal position of icon to replace
This is similar to the IconReplace function, except it allows you to
change an icon other than the first icon in the file.
Note: This IntControl is subject to change in future versions.
IntControl(39, p1, 0, 0, 0)
Sets the file sharing mode for file reads.
p1 = share mode for file reads (default = 1)
Valid share modes are:
-1 = don't change (keep current setting)
0 = prevent the file from being shared
1 = allow other open operations for read access
2 = allow other open operations for write access
3 = allow other open operations for read and write access
This affects the FileOpen("READ") and BinaryRead functions.
Returns previous setting.
IntControl(40, p1, 0, 0, 0)
Sets the file sharing mode for file writes.
p2 = share mode for file writes (default = 0)
This affects the FileOpen("WRITE"/"APPEND") and BinaryWrite functions.
Returns previous setting.
See IntControl(39) for a list of valid share modes.
New return code for WinMetrics(-3): 4 = PowerPC32
In 32-bit version, fixed a problem using DirName with directory names
containing spaces or commas.
Fixed problem with TimeJulToYmd with years >= 2000.
FileWrite now returns an error if the write failed.
In 16-bit version, fixed problem with DiskScan causing a GP fault on
systems with Stacker compression software installed.
In 32-bit version, the following functions are now a little more
well-behaved in giving up processor time: RunWait (and RunShell with the
"@WAIT" parameter), AppWaitClose, and Delay/TimeDelay.
Fixed a problem with the Dialog function, where if you defined an EDITBOX
control after a FILELISTBOX control, the file listbox would revert to a
filespec of "*.*".
In 32-bit version, fixed a prooblem with the Dialog function, where if you
had a filespec other than "*.*", it would not show subdirectories in the
file list.
In 32-bit version, added some code to the ClipGet and ClipPut functions to
try to avoid "Clipboard owned by another app" error messages.
Fixed problem with TimeWait, when specifying a date of "00:00:00" and a
time that was earlier than the current time.
In 32-bit version, added a 25-millisecond delay between keystrokes sent
using the SendKey function. This can be adjusted using IntControl(35).
Fixed problem with PlayWaveForm in 32-bit version.
Windows 32 extender 10004
netDirDialog no longer returns an error if user presses "Cancel".
Dialog Editor 96A
Fixed the "Help" menu.
WB 96B Feb 12, 1996
In the 16-bit version, fixed a problem where doing a BoxDestroy
immediately after resizing a box window caused a GPF.
Fixed a resource leak problem with BoxColor when using gradient effects.
DLL 2.3bbm First showing up in WB 96B
New binary functions:
BinaryHashRec(buffer, recsize, keyoffset, keysize, keyval)
Returns a pointer to a record in a binary buffer, using a hashing
algorithm.
BinaryIncr(buffer, offset)
BinaryIncr2(buffer, offset)
BinaryIncr4(buffer, offset)
BinaryIncrFlt(buffer, offset)
These functions are equivalent to doing a BinaryPeek[...],
incrementing the extracted value by 1, and then doing a
BinaryPoke[...] to store the new value.
They return the new value.
BinaryPeek2(buffer, offset)
BinaryPeek4(buffer, offset)
BinaryPeekFlt(buffer, offset)
These functions are like BinaryPeek, but they extract 2, 4, or 8 bytes
(respectively) beginning at "offset"
BinaryPoke2(buffer, offset, value)
BinaryPoke4(buffer, offset, value)
BinaryPokeFlt(buffer, offset, value)
These functions are like BinaryPoke, but they store the specified
"value" in 2, 4, or 8 bytes (respectively) beginning at "offset".
BinarySort(buffer, recsize, keyoffset, keysize, flags)
Sorts records in a binary buffer. The buffer is sorted in place.
Change to BinaryIndex and BinaryIndexNc:
You can now specify a blank string ("") for the "string" parameter, in
which case the function will return the offset of the first non-NULL
character found, starting at "offset".
Fixed BinaryIndexNC
BinaryPoke now correctly returns the previous value, as documented.
In the 32-bit version, KeyToggleSet no longer returns an error (however,
it is still subject to the limitations described in the documentation).
In the 16-bit version, fixed DirAttrSet.
The following string functions:
StrIndex
StrScan
StrSub
no longer return an error for illegal bounds conditions. Instead,
StrIndex/StrScan now return a 0, and StrSub returns a blank string.
WB 96C Mar 22, 1996
FileMenu now works in Windows NT 4.0.
PopMenu now works in Windows NT 4.0.
Fixed problem where BoxButtonDraw didn't change the text of an existing
button, or of a button which had previously existed but had been removed
with BoxButtonKill.
DLL 2.3cbm First showing up in WB 96C
In 32-bit version, the following functions now work in Windows NT 4.0:
ShortcutEdit
ShortcutExtra
ShortcutInfo
ShortcutMake
In 32-bit version, the Run... functions can now be used to launch shortcut
files in Windows NT 4.0.
In 32-bit version, added 3D effects to Windows NT 4.0.
In 32-bit version, fixed problem with licensing dialog in Windows NT 4.0.
In 32-bit version, the following registry functions:
RegSetValue
RegQueryValue
RegDelValue
no longer treat a named value of [Default] as indicating the primary value
for a key (and, therefore, it is now possible to access a value which is
actually named "Default").
In 32-bit version, fixed problem with international strings not being used.
New registry functions (32-bit version only):
RegQueryExpSz(handle, subkey)
Retrieves a REG_EXPAND_SZ value from the registry.
RegQueryMulSz(handle, subkey, delimiter)
Retrieves a REG_MULTI_SZ value from the registry.
RegSetExpSz(handle, subkey, value)
Sets a REG_EXPAND_SZ value in the registry.
RegSetMulSz(handle, subkey, value, delimiter)
Sets a REG_MULTI_SZ value in the registry.
In 32-bit version, fixed problem with RegQuery... functions when there
was a backslash between the subkey string and a named value, eg:
RegQueryValue(mykey, "MySubKey[MyItem]", "some data") -- this worked
RegQueryValue(mykey, "MySubKey\[MyItem]", "some data") -- this didn't
RegQuery, RegQueryBin, and RegSetBin can now handle longer strings (up to
available WIL string space).
In 32-bit version, fixed problem with OLE string parameters.
In 32-bit version, fixed problem with RegQueryBin with certain values.
In 32-bit version, fixed problem with RegSetDword with large values.
Fixed problem with TimeSubtract, where the result could have a day of "00"
(eg, "96:04:00" instead of "96:03:31").
In 16-bit version, fixed WinItemNameId.
Fixed problem with BinaryHashRec crashing if there was only one record in
the buffer.
NetWare 3 extender 12014 First showing up in WB 96C
Fixed n3FileAttrGet and n3FileAttrSet.
n3FileAttrGet and n3FileAttrSet no longer support directories (use new
functions n3DirAttrGet and n3DirAttrSet instead).
New functions:
n3DirAttrGet(dirname)
Same as n3FileAttrGet, but for directory attributes.
n3DirAttrSet(dirname, attribs, mode)
Same as n3FileAttrSet, but for directory attributes.
n3MapDir(net-path, local-name)
Like n3Map, but performs a regular (non-root) map.
n3MapRoot(net-path, local-name)
Identical to n3Map.
With n3Map[..], it is no longer necessary to add a trailing backslash when
mapping to the root of a volume.
New functions:
n3CapturePrt(s:server-name, s:queue-name, i:port-number, s:flags)
Captures a local printer port to a Netware printer queue.
"port-number" is a number from 1 to 9 (where 1 = "LPT1", etc).
"flags" is a tab-delimited list of keyword=value pairs, ie:
"key1=value1%@TAB%key2=value2%@TAB%key3=value3..."
Valid keywords are:
JobDescription
JobControlFlags
TabSize
NumCopies
PrintFlags
MaxLines
MaxChars
FormName
FormType
BannerText
FlushCaptureTimeout
FlushCaptureOnClose
See the Netware 3 extender help file for an explanation of these
flags.
n3CaptureEnd(i:port-number)
Ends a printer capture.
"port-number" is a number from 1 to 9 (where 1 = "LPT1", etc).
n3GetUserId(s:server-name, s:user-name, i:format)
Returns the object ID corresponding to the specified user name.
"Format" specifies the format in which the ID is returned:
0 Decimal number, in internal Netware format
1 Hexadecimal string, such as used for mail directories
n3ChgPassword(s:server-name, s:user-name, s:new-password)
Changes a user's password.
Passwords are NOT case-sensitive.
You must be logged in to the specified server.
n3GetNetAddr(s:server, i:flags)
Returns the internetwork address of the current workstation.
"server" can be a blank string (""), in which case the default
server is used.
"flags" is reserved for future use, and should be set to 0.
The return value is a string of hex bytes in the format:
x1x2x3x4:y1y2y3y4y5y6:z1z2
where:
x1x2x3x4 = 4-byte network address
y1y2y3y4y5y6 = 6-byte net node address (physical address of workstation's LAN board)
z1z2 = socket
n3ServerInfo(s:server, i:request)
Returns information on the specified Netware server.
Request Meaning
------- -------
1 major NetWare version number
2 minor NetWare version number
3 revision number of the NetWare OS on NetWare server
4 maximum number of connections the server will support
5 highest number of connections simultaneously in use
6 number of connections the server currently has in use
7 maximum number of volumes the server will support
8 SFT level the server supports
9 TTS Level of NetWare server operating system
n3UserGroups(s:server, s:username)
Lists groups to which the specified user belongs.
The return value is a tab-delimited list of groups.
Added new request # to n3ServerList:
4 = all known servers (TAB-delimited list)
NetWare 4 extender 14011 First showing up in WB 96C
Fixed n4FileAttrGet and n4FileAttrSet.
n4FileAttrGet and n4FileAttrSet no longer support directories (use new
functions n4DirAttrGet and n4DirAttrSet instead).
New functions:
n4DirAttrGet(dirname)
Same as n4FileAttrGet, but for directory attributes.
n4DirAttrSet(dirname, attribs, mode)
Same as n4FileAttrSet, but for directory attributes.
n4MapDir(net-path, local-name)
Like n4Map, but performs a regular (non-root) map.
n4MapRoot(net-path, local-name)
Identical to n4Map.
With n4Map[..], it is no longer necessary to add a trailing backslash when
mapping to the root of a volume.
New functions:
n4CapturePrt(s:server-name, s:queue-name, i:port-number, s:flags)
Captures a local printer port to a Netware printer queue.
"port-number" is a number from 1 to 9 (where 1 = "LPT1", etc).
"flags" is a tab-delimited list of keyword=value pairs, ie:
"key1=value1%@TAB%key2=value2%@TAB%key3=value3..."
Valid keywords are:
JobDescription
JobControlFlags
TabSize
NumCopies
PrintFlags
MaxLines
MaxChars
FormName
FormType
BannerText
FlushCaptureTimeout
FlushCaptureOnClose
See the Netware 4 extender help file for an explanation of these
flags.
n4CaptureEnd(i:port-number)
Ends a printer capture.
"port-number" is a number from 1 to 9 (where 1 = "LPT1", etc).
n4GetUserId(s:server-name, s:user-name, i:format)
Returns the object ID corresponding to the specified user name.
"Format" specifies the format in which the ID is returned:
0 Decimal number, in internal Netware format
1 Hexadecimal string, such as used for mail directories
n4ChgPassword(s:server-name, s:user-name, s:old-password, s:new-password)
Changes a user's password.
"Old-password" must be specified for Directory Services connections,
but does not need to be specified for bindery connections.
Passwords ARE case-sensitive for Directory Services connections, but
NOT for bindery connections.
n4GetNetAddr(s:server, i:flags)
Returns the internetwork address of the current workstation.
"server" can be a blank string (""), in which case the default
server is used.
"flags" is reserved for future use, and should be set to 0.
The return value is a string of hex bytes in the format:
x1x2x3x4:y1y2y3y4y5y6:z1z2
where:
x1x2x3x4 = 4-byte network address
y1y2y3y4y5y6 = 6-byte net node address (physical address of workstation's LAN board)
z1z2 = socket
n4ServerInfo(s:server, i:request)
Returns information on the specified Netware server.
Request Meaning
------- -------
1 major NetWare version number
2 minor NetWare version number
3 revision number of the NetWare OS on NetWare server
4 maximum number of connections the server will support
5 highest number of connections simultaneously in use
6 number of connections the server currently has in use
7 maximum number of volumes the server will support
8 SFT level the server supports
9 TTS Level of NetWare server operating system
n4UserGroups(s:server, s:username)
Lists groups to which the specified user belongs.
The return value is a tab-delimited list of groups. If the
specified server is a Directory Services connection, the group names
will contain distinguishing path information (eg, "Server1.Users").
Added new request # to n4ServerList:
4 = all known servers (TAB-delimited list)
If the current default server is a Directory Services connection, only
servers that are part of Directory Services are returned. If the
current default server is a bindery connection, only servers listed in
the bindery are returned.
Windows 32 extender 10005
netGetCon now accepts printer ports higher than LPT3 (up to LPT9).